package org.dreamfly.core.dao;

import org.dreamfly.core.bean.SzAdmin;

/**
 * @author Jhat
 * @date 2010-10-11
 * @time 下午07:48:25
 */
public interface AdminDAO extends BaseDAO<SzAdmin,Long> {

	/**
	 * 管理员登陆验证
	 * @param adminName
	 * @param adminPassword
	 * @return
	 */
	boolean Login(String adminName,String adminPassword);
	SzAdmin findByName(String username);
}
